<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-name" class="form-control" style="border: none;" name="row[name]" type="text" value="{$row.name|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Reason')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-reason" class="form-control" style="border: none;" name="row[reason]" type="text" value="{$row.reason|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Content')}:</label>
        <div class="col-xs-12 col-sm-8">
            {foreach name=":json_decode($row.content, true)" id="item"}
            <p class="text-primary" style="border: none;color: #333;">
                <span>名称：{$item.name}</span><br>
                <span>内容：{$item.value}</span><br>
            </p>
            {/foreach}
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Analysis')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-analysis" class="form-control" style="border: none;" name="row[analysis]" type="text" value="{$row.analysis|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Objectives')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-objectives" class="form-control" style="border: none;" name="row[objectives]" type="text" value="{$row.objectives|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Activity_cases')}:</label>
        <div class="col-xs-12 col-sm-8">
            {foreach name=":json_decode($row.activity_cases, true)" id="item"}
                <p class="text-primary" style="border: none;color: #333;">
                    <span>活动名称：{$item.name}</span><br/>
                        <span>&nbsp;&nbsp;1、活动目标</span><br/> 
                            <span>&nbsp;&nbsp;&nbsp;&nbsp;情感：{$item.emotion}</span><br/>
                            <span>&nbsp;&nbsp;&nbsp;&nbsp;认知：{$item.cognition}</span><br/>
                            <span>&nbsp;&nbsp;&nbsp;&nbsp;技能：{$item.skill}</span><br/>
                        <span>&nbsp;&nbsp;2、活动准备<span><br/> 
                            <span>&nbsp;&nbsp;&nbsp;&nbsp;物质准备：{$item.material_plan}<span><br/>
                            <span>&nbsp;&nbsp;&nbsp;&nbsp;经验准备：{$item.experience_plan}<span><br/>
                            <span>&nbsp;&nbsp;&nbsp;&nbsp;活动过程：{$item.activity_process}<span><br/>
                            <span>&nbsp;&nbsp;&nbsp;&nbsp;活动延伸：{$item.activity_extension}<span><br/>
                </p>
            {/foreach}
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Reflections')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-reflections" class="form-control" style="border: none;" name="row[reflections]" type="text" value="{$row.reflections|htmlentities}">
        </div>
    </div>
    
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
        </div>
    </div>
</form>
